#pragma once
#include <time.h>

class CTransaction
{
private:
    char sTransactionID[15];
    char sAccountID[15];
    char sFullName[30];
    struct tm tmTimeTrans;    
    long lValueTras;

public:
    CTransaction(void);
    ~CTransaction(void);

    void SetTransactionID(char *sTransactionID);
    void SetAccountID(char *sAccountID);
    void SetFullName(char *sFullName);
    void SetTime(struct tm *tmTimeTrans);
    void SetValueTras(long lValueTras);

	char* GetTransactionID();
	char* GetAccountID();
	char* GetFullName();
	long GetValueTrans();
	int GetDay();
	int GetMonth();
	int GetYear();
};
